// 
// J2CsMapping : runtime library for J2CsTranslator
// 
// Copyright (c) 2008-2010 Alexandre FAU.
// All rights reserved. This program and the accompanying materials
// are made available under the terms of the Eclipse Public License v1.0
// which accompanies this distribution, and is available at
// http://www.eclipse.org/legal/epl-v10.html
// Contributors:
//   Alexandre FAU (IBM)
//

namespace ILOG.J2CsMapping.Collections
{
    /// <summary>
    /// .Net replacement for java Iterator
    /// </summary>
    public interface IIterator
    {
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        bool HasNext();

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        object Next();

        /// <summary>
        /// 
        /// </summary>
        void Remove();

    }
}
